//
//  RGMessageContactModel.h
//  RedGrass
//
//  Created by wuyine on 2019/1/7.
//  Copyright © 2019年 hongcaosp. All rights reserved.
//

#import "RGUserInfoModel.h"



NS_ASSUME_NONNULL_BEGIN

//注：comment只是下图红框内的信息， app端只用得到senderName或content
@interface RGMessagecontentModel : JSONModel
@property (nonatomic,copy) NSString *serviceType;    //im
@property (nonatomic,copy) NSString *senderName;    //发送者名字
@property (nonatomic,copy) NSString *bzm;    //1544770515053
@property (nonatomic,copy) NSString *sender;    //发送者id
@property (nonatomic,copy) NSString *serviceCode;    //txt
@property (nonatomic,copy) NSString *caseId;    //69446188
@property (nonatomic,assign) NSInteger msgSource;    //1
@property (nonatomic,copy) NSString *content;    //发送内容
@property (nonatomic,copy) NSString *senderIcon;    ////发送者头像
@property (nonatomic,copy) NSString *sendTime;    //"2018-12-14T06:55:15.053Z" //发送时间
@end

//@protocol RGMessagecontentModel;
typedef enum : NSUInteger {
    Message_Comment = 1,  //评论
    Message_Works         //作品
} TypeChild;

@interface RGMessageContactModel : RGUserInfoModel
//@property (nonatomic,copy) NSString *birthday;    //
//@property (nonatomic,copy) NSString *email;
//@property (nonatomic,copy) NSString *createTime;
//@property (nonatomic,copy) NSString *idNumber;    //
//@property (nonatomic,copy) NSString *image;    //
//@property (nonatomic,copy) NSString *locality;    //
//@property (nonatomic,copy) NSString *mobile;    //
//@property (nonatomic,copy) NSString *name;    //
//@property (nonatomic,copy) NSString *nickname;    //用户昵称
//@property (nonatomic,copy) NSString *opendId;    //
//@property (nonatomic,copy) NSString *password;    //
//@property (nonatomic,copy) NSString *token;    //
//@property (nonatomic,copy) NSString *userCode;    //
//@property (nonatomic,copy) NSString *userComment;    //签名
//@property (nonatomic,copy) NSString *vipExpiration;    //签名
//@property (nonatomic,copy) NSString *vipStartTime;    //签名
//@property (nonatomic,assign) NSInteger collectionCounts;
//@property (nonatomic,assign) NSInteger fansCounts;
//@property (nonatomic,assign) NSInteger followCounts;
//@property (nonatomic,assign) BOOL isVip;    //
//@property (nonatomic,assign) NSInteger likeCounts;
//@property (nonatomic,assign) NSInteger sex;    //
//@property (nonatomic,assign) NSInteger status;
//@property (nonatomic,assign) NSInteger type;  //1(赞评论/@评论),2(赞作品/@作品)
//@property (nonatomic,assign) NSInteger vipLevel;

//@property (nonatomic,assign) NSInteger worksCount;
@property (nonatomic,assign) NSInteger id;     //用户id
//@property (nonatomic,assign) NSInteger dynamicCount;
@property (nonatomic,copy) NSString *content;
@property (nonatomic,assign) NSInteger commentId;
@property (nonatomic,copy) NSString *comment;
@property (nonatomic,assign) BOOL meFollowmTa;
@property (nonatomic,copy) NSString *coverPath;    //
@property (nonatomic,copy) NSString *videoPath;    //
@property (nonatomic,assign) BOOL taFollowMe;
@property (nonatomic,strong) RGMessagecontentModel *subModel;
@property (nonatomic,assign) NSInteger typeChild;     //1(赞评论/@评论),2(赞作品/@作品)

@property (nonatomic, assign) NSInteger messageType;  //0对话列表、1粉丝、2赞、3@我的、4评论

@end

NS_ASSUME_NONNULL_END
